﻿@{
    ViewData["Title"] = "学生表查看界面";
    Layout = null;
    ViewFWUser currentUserInfo = base.Context.Session.GetUserInfo();
}
<div data-toggle="topjui-layout" data-options="fit:true">
    <div data-options="region:'center',iconCls:'icon-reload',title:'',split:true,border:false,bodyCls:'border_left'">
        <div data-toggle="topjui-tabs"
             data-options="id:'centerTabs',
             fit:true,
             border:false">
            <div title="基本信息" data-options="id:'tab0',iconCls:'fa fa-th'">
                <div>
                    <div class="layui-fluid" id="DemoStudentTeDetailTable">

                    </div>
                </div>

            </div>
            @*<div title="单位信息" data-options="id:'tab1',iconCls:'fa fa-th'">
                <table id="myDg2"></table>
            </div>
            <div title="服务商信息" data-options="id:'tab2',iconCls:'fa fa-th'">
                ewrwe
            </div>
            <div title="评价信息" data-options="id:'tab2',iconCls:'fa fa-th'">
                ewrwe
            </div>*@
        </div>
    </div>
</div>

<script id="DemoStudentTeDetailTableTemplate" type="text/x-jquery-tmpl">
    <table class="layui-table">
        <colgroup>
            <col width="150">
            <col>
        </colgroup>
        <tr>
            <td>班级:</td>
            <td>
                ${className}
            </td>
        </tr>

        <tr>
            <td>@L("名称"):</td>
            <td>
                ${studentName}
            </td>
        </tr>

        <tr>
            <td>@L("年龄"):</td>
            <td>
                ${studentAge}
            </td>
        </tr>

        <tr>
            <td>@L("生日"):</td>
            <td>
                ${$.ei.dateFormatter(studentBirthday)}
            </td>
        </tr>

        <tr>
            <td>@L("身高"):</td>
            <td>
                ${$.ei.moneyFormatter(studentHeight)}
            </td>
        </tr>

        <tr>
            <td>@L("是否VIP"):</td>
            <td>
                ${$.ei.boolFormatter(studentIsVip)}
            </td>
        </tr>

        <tr>
            <td>@L("学生等级(1,学霸;2,普通;3,学渣)"):</td>
            <td>
                ${$.ei.enumFormatter(studentLevel,'@L("学生等级(1,学霸;2,普通;3,学渣)")')}
            </td>
        </tr>

        <tr>
            <td>@L("学生描述"):</td>
            <td>
                ${studentDesc}
            </td>
        </tr>

        <tr>
            <td>@L("学生爱好(篮球;足球;羽毛球;跑步)"):</td>
            <td>
                ${studentFavor}
            </td>
        </tr>

        <tr>
            <td>@L("学生头像(上传图片)"):</td>
            <td>
                ${studentHeadUrl}
            </td>
        </tr>

        <tr>
            <td>@L("学生自传"):</td>
            <td>
                ${studentMeRemark}
            </td>
        </tr>

        <tr>
            <td>@L("学生个人资料(上传文件)"):</td>
            <td>
                ${studentFile}
            </td>
        </tr>

    </table>
</script>
